package com.senssun.blelib.broadcast;

import com.senssun.blelib.callback.BleScanCallback;
import com.senssun.blelib.data.BleDevice;

public abstract class BleBroadcastPresenter extends BleScanCallback {
//
//    @Override
//    public void onScanFinished(List<BleDevice> scanResultList) {
//        onDisConnected();
//    }
//
//    @Override
//    public void onLeScan(BleDevice bleDevice) {
//        super.onLeScan(bleDevice);
//        if (bleDevice == mBleDevice) {
//            onBroadcastData(bleDevice);
//        }
//    }
//
//    @Override
//    public void onScanning(BleDevice bleDevice) {
//        if (bleDevice == mBleDevice) {
//            onConnectSuccess(bleDevice);
//        }
//    }
//
//    @Override
//    public void onScanStarted(boolean success) {
//
//    }

    public abstract void onConnectSuccess(BleDevice bleDevice);

    public abstract void onDisConnected();

    public abstract void onBroadcastData(BleDevice bleDevice);
}
